using System.Collections.Generic;
using MEA.AE_Data.Config;

namespace MEA.AE_Data.Access
{
	public interface IECU_Access
	{
		event ChangingHandler OnlineChangeECUA;

		event ChangingHandler OnlineChangeECUB;

		int CheckDongleCode(uint code);

		bool ConnectUSB();

		void DisconnectUSB();

		void ECUReceiveConnect(bool cnct);

		CANMessage AddMessage(CANMessage Message);

		CANMessage GetMessage(int id);

		List<byte> Query(ConfigData.e_ECUID ecuID, ConfigKWP.e_kwpServices serviceID, List<byte> sendList);
	}
}
